package com.device.operating.dao;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.device.operating.entity.Ugfunctype;

public interface UgfunctypeRepository extends PagingAndSortingRepository<Ugfunctype, String>{	
	public List<Ugfunctype> findByUgIdAndUgtype(String ugId,String ugtype);
	public Ugfunctype findByUgIdAndUgtypeAndFunctypecode(String ugId,String ugtype,String functypecode);
	public Ugfunctype findByUgIdAndUgtypeAndFunctypeId(String ugId,String ugtype,String functypeId);
	public List<Ugfunctype> findByUgId(String ugId);
	public List<Ugfunctype> findByUgIdAndFunctypesortOrderByTypenumAsc(String ugId,String functypesort);
	public List<Ugfunctype> findByFunctypeId(String functypeId);
}
